def numToChinese(num) -> str:
    jinzhi = ["", "十", "百", "千", "万"]
    shuzi = ["","一", "二", "三", "四", "五", "六", "七", "八", "九"]
    num = str(num)
    result = ""
    length = len(num)
    for i in range(length):

        if (length == 2) & (num[0] == "1") & (i == 0):
            result += "十"
        else:

            result += shuzi[int(num[i])] + jinzhi[length - i - 1]
    return result
